package it.antonio.ilpizze.mock.expectation;

import it.antonio.ilpizze.aop.Invocation;
import it.antonio.ilpizze.mock.Expectation;

public class ObjectReturnExpectation<T> implements Expectation<T> {

        private T returnObject;
        
        public ObjectReturnExpectation(T returnObject) {
                this.returnObject = returnObject;
        }

        public T expect(Invocation invocationOnMock) {
        	return returnObject;
        }

}